#ifndef _OCPP_GridDataValue_H__
#define _OCPP_GridDataValue_H__

#include "VolumeDef.h"

namespace OCPP
{
	namespace Volume
	{
		class _volumeExport GridDataValue
		{
		public:
			enum GridDataDataType
			{
				Float = GL_FLOAT,
				HalfFloat = 0x8D61,
				Float64 = GL_DOUBLE,
				Uint8 = GL_UNSIGNED_BYTE,
			};

			float getFloat(size_t i);

			bool doneScaleAndOffset = false;
			bool doneReverseZ = false;
			bool doneSetPositive = false;

			Uint8Vector		_vecUint8;
			Uint16Vector	_vecUint16;
			FloatVector		_vecFloat;
			DoubleVector	_vecDouble;
		};

	}
}


#endif // !_OCPP_NcOptions_H__
